<template>
	<navigatorComp
		title="生成桌面快捷方式"
		bgcColor="#F6F6F6"
		fontColor="#0E0E0E"
		:isBack="false"
	></navigatorComp>
	<image
		v-if="platform === 'ios'"
		src="http://112.124.50.179:8888/imgs/intro.png"
		style="width: 100%"
		mode="widthFix"
	></image>
	<view class="androidIntro" v-else>
		<view class="androidIntro_step">
			步骤1：打开默认浏览器或百度浏览器
		</view>
		<image src="http://112.124.50.179:8888/imgs/intro1.png" style="width: 80%" mode="widthFix"></image>
		<view class="androidIntro_step">
			步骤2：点击生成桌面快捷方式
		</view>
		<image src="http://112.124.50.179:8888/imgs/intro2.png" style="width: 80%" mode="widthFix"></image>
	</view>
</template>

<script setup>
import { onLoad } from '@dcloudio/uni-app';
import { ref, reactive } from 'vue';
import navigatorComp from '/components/navigator/index.vue';
const platform = ref();
onLoad(() => {
	uni.getSystemInfo({
		success: function (res) {
			platform.value = res.osName
		}
	});
});
</script>

<style lang="scss">
page {
	background-color: #fff;
	/* #ifdef H5 */
	padding-top: 0;
	/* #endif */
	overflow: scroll;
}

.androidIntro{
	
	.androidIntro_step{
		color:#333;
		font-size: 16px;
		font-weight: 500;
		margin: 40rpx 32rpx 32rpx 32rpx;
	}
	
	image{
		left:50%;
		transform: translateX(-50%);
		border-radius: 16rpx;
	}
}
</style>
